hotplug-dispatch: don't ignore asprintf() return value
authorDaniel Golle <[email protected]>
Wed, 4 Aug 2021 14:53:07 +0000 (15:53 +0100)
committerDaniel Golle <[email protected]>
Wed, 4 Aug 2021 14:53:07 +0000 (15:53 +0100)
commit78d5baa015105d4f1da9499a6bbb0364843083b1
tree312bc98ebbf190d2ef74441f00fee6b3fa0ebf8a
parent220b7160dbabe39a562b5e6cbd43acc1bc9f8e06
hotplug-dispatch: don't ignore asprintf() return value

Properly handle asprintf() return value and error out on -1.

Signed-off-by: Daniel Golle <[email protected]>
hotplug-dispatch.c